package org.dxy.domain.game.adapter.event.service;

import lombok.extern.log4j.Log4j2;
import org.dxy.domain.game.adapter.event.DomainEvent;
import org.dxy.domain.game.adapter.event.EventQueue;
import org.springframework.stereotype.Service;

@Log4j2
@Service
public class EventQueueImpl implements EventQueue {
    @Override
    public void enqueue(DomainEvent domainEvent) {
        log.info("此事件已被发布,domainEvent: {}", domainEvent.toString());
    }
}
